Optimal. Leaf size=92 \[ \sqrt{5+2 \sqrt{13}} \text{EllipticF}\left (\sin ^{-1}\left (\sqrt{\frac{2}{\sqrt{13}-1}} x\right ),\frac{1}{6} \left (\sqrt{13}-7\right )\right )-\sqrt{\frac{1}{2} \left (1+\sqrt{13}\right )} E\left (\sin ^{-1}\left (\sqrt{\frac{2}{-1+\sqrt{13}}} x\right )|\frac{1}{6} \left (-7+\sqrt{13}\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.120274, antiderivative size = 92, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {1180, 524, 424, 419} \[ \sqrt{5+2 \sqrt{13}} F\left (\sin ^{-1}\left (\sqrt{\frac{2}{-1+\sqrt{13}}} x\right )|\frac{1}{6} \left (-7+\sqrt{13}\right )\right )-\sqrt{\frac{1}{2} \left (1+\sqrt{13}\right )} E\left (\sin ^{-1}\left (\sqrt{\frac{2}{-1+\sqrt{13}}} x\right )|\frac{1}{6} \left (-7+\sqrt{13}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1180
Rule 524
Rule 424
Rule 419
Rubi steps
\begin{align*} \int \frac{3-x^2}{\sqrt{3-x^2-x^4}} \, dx &=2 \int \frac{3-x^2}{\sqrt{-1+\sqrt{13}-2 x^2} \sqrt{1+\sqrt{13}+2 x^2}} \, dx\\ &=\left (7+\sqrt{13}\right ) \int \frac{1}{\sqrt{-1+\sqrt{13}-2 x^2} \sqrt{1+\sqrt{13}+2 x^2}} \, dx-\int \frac{\sqrt{1+\sqrt{13}+2 x^2}}{\sqrt{-1+\sqrt{13}-2 x^2}} \, dx\\ &=-\sqrt{\frac{1}{2} \left (1+\sqrt{13}\right )} E\left (\sin ^{-1}\left (\sqrt{\frac{2}{-1+\sqrt{13}}} x\right )|\frac{1}{6} \left (-7+\sqrt{13}\right )\right )+\sqrt{5+2 \sqrt{13}} F\left (\sin ^{-1}\left (\sqrt{\frac{2}{-1+\sqrt{13}}} x\right )|\frac{1}{6} \left (-7+\sqrt{13}\right )\right )\\ \end{align*}
Mathematica [C] time = 0.131711, size = 107, normalized size = 1.16 \[ -\frac{i \left (\left (\sqrt{13}-1\right ) E\left (i \sinh ^{-1}\left (\sqrt{\frac{2}{1+\sqrt{13}}} x\right )|-\frac{7}{6}-\frac{\sqrt{13}}{6}\right )-\left (\sqrt{13}-7\right ) \text{EllipticF}\left (i \sinh ^{-1}\left (\sqrt{\frac{2}{1+\sqrt{13}}} x\right ),-\frac{7}{6}-\frac{\sqrt{13}}{6}\right )\right )}{\sqrt{2 \left (\sqrt{13}-1\right )}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.403, size = 204, normalized size = 2.2 \begin{align*} 36\,{\frac{\sqrt{1- \left ( 1/6+1/6\,\sqrt{13} \right ){x}^{2}}\sqrt{1- \left ( 1/6-1/6\,\sqrt{13} \right ){x}^{2}} \left ({\it EllipticF} \left ( 1/6\,x\sqrt{6+6\,\sqrt{13}},i/6\sqrt{39}-i/6\sqrt{3} \right ) -{\it EllipticE} \left ( 1/6\,x\sqrt{6+6\,\sqrt{13}},i/6\sqrt{39}-i/6\sqrt{3} \right ) \right ) }{\sqrt{6+6\,\sqrt{13}}\sqrt{-{x}^{4}-{x}^{2}+3} \left ( -1+\sqrt{13} \right ) }}+18\,{\frac{\sqrt{1- \left ( 1/6+1/6\,\sqrt{13} \right ){x}^{2}}\sqrt{1- \left ( 1/6-1/6\,\sqrt{13} \right ){x}^{2}}{\it EllipticF} \left ( 1/6\,x\sqrt{6+6\,\sqrt{13}},i/6\sqrt{39}-i/6\sqrt{3} \right ) }{\sqrt{6+6\,\sqrt{13}}\sqrt{-{x}^{4}-{x}^{2}+3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\int \frac{x^{2} - 3}{\sqrt{-x^{4} - x^{2} + 3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{-x^{4} - x^{2} + 3}{\left (x^{2} - 3\right )}}{x^{4} + x^{2} - 3}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int \frac{x^{2}}{\sqrt{- x^{4} - x^{2} + 3}}\, dx - \int - \frac{3}{\sqrt{- x^{4} - x^{2} + 3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{x^{2} - 3}{\sqrt{-x^{4} - x^{2} + 3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]